<?php

namespace app\common\model\shopro;
use app\common\model\User;
use think\Model;
class ShoproPerformanceDayfenModel extends Model
{
    protected $name = 'shopro_performance_dayfen';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = false;

    public function user(){
        return $this->belongsTo(User::class, 'user_id', 'id');
    }
}
